﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework.HttpLoadBalancer.HttpProtocal;

namespace A2DFramework.HttpLoadBalancer.Parsers
{
    /// <summary>
    /// 解析HTTP头
    /// </summary>
    public interface IHttpHeaderParser
    {
        /// <summary>
        /// 解析成Http头 key/value
        /// </summary>
        /// <param name="rawHeaderRow">单行文本</param>
        /// <returns></returns>
        HttpHeaderEntity Parse(string rawHeaderRow);
    }
}
